Login/Logout functionality added