Login and Logout functionalities working.