fix log out