Login/logout

Universal login/logout controls:
  * move user management into user model
  * always display a login/logout control in the nav bar
  * display email when logged in