user logout edit