log out fixed