Logout button and login update