changed for user logout