Login/Logout

Added login and logout to the application.