fixed user logout