If you’d like users to register before being able to send messages in the chat you can do so with HTML panels. HTML panels allow you to embed any hosted webpage into your chat seamlessly. This webpage would contain the information required to register on your site and send that data back to you. When you receive this data you could enable their ability to chat.
Find out more about HTML panels by clicking the link below.