title: When meteor user logged in Iron Router will not route Router.current().params.username to different profile
body: <p>When meteor user is logged out, I can visit www.foo.com/usernameA and this will bring up the usernameA page with all of the profile info . When I do this for www.foo.com/usernameB the same thing occurs. All of this works great. When I log into the meteor accounts with a user and attempt to enter the same addresses to the usernames, I continually get routed to the currently logged in users profile page. The currently logged in user keeps hijacking the Router.current().params.username and always making that the current parameter.</p>
  
  <p>Here is the basics of my code:</p>
  
  <p>routes.js </p>
  
  <pre><code>Router.route('/:username', {
  template: 'userPubProfile',
  onBeforeAction: function(){
  var profileUserExists = Meteor.users.find({"profile.user-url" :   
  Router.current().params.username}).count();
  
    if (profileUserExists == 0) {
      this.render('404');
    }
    else {
      this.next();
    }
   }
  });
  </code></pre>
  
  <p>userPubProfile.js</p>
  
  <pre><code>Template.userPubProfile.helpers({
    'userFirstName' : function(){
      var getUser = Meteor.users.findOne({"profile.user-url" :  
  Router.current().params.username});
  return getUser.profile['first-name'];
   }
  });
  </code></pre>
  
  <p>My question:
  How do I make the routing work the same when the user is logged in or logged out when attempting to connect to router using the /:username parameter?</p>