user logout edit #2