fixed log out