Send clientID when updating session and attaching and detaching user