Changed logOut