Added login and logout views.