Render template if user is not logged in

I have a small app that uses iron router. I generated a skelleton using iron-cli. I have a route and controller. My controller function account looks like this

account: function() {
    var user = Meteor.user();
	console.log(user);
	if(Meteor.user()){
    this.render('Account');
    }
    else{
    this.render('Login');
    }
  },

When i visit account i am taken to Account and not Login since i am not logged in.

I added action and it now works

Router.route(‘account’, {
name: ‘account’,
controller: ‘HomeController’,
action:‘account’,
where: ‘client’
});