Login/Logout button added

Login/logout functionality implemented.