Added event user_connected
better documentation
Added user name check while registering