Added login and logout pages.