login/logout now works smoothly. Fixed a bug where User's model attributes were not handed to Handlebars when rendering the template.