userSessionEnds

Emits each time the connected user's session ends, which makes data cached for that user stale: on disconnect, or when a different user replaces them. A first connect, the same user connecting again and profile updates emit nothing.

A switch emits as soon as the new user is set, before the client finishes initializing for them.