Fixed user logout.