Added Users.onConnected and onConnectionLost events