This use a customized HTML login form to launch the applet. Feel free to make any change to fit your web site. The chat will start after you press the Enter button. This is a login HTML form: