Added Login and Logout to the application