Many chats are integrated into exiting websites that already manage their own user login/password. So to avoid a double login process you can auto login to your chat automatically.
For that, you can pass 2 parameters: username and sex, so an user will be auto login to the html5-chat as ‘username’ whose gender is ‘sex’.
Here is a simple way to do it:
As simple as that !