fixed the login and logout button