[PureChat] Add logout
Why: Let the server know the user has logged out from client.
How: Add a change in client