Registration/Chat Additions

+ Added publish/subscribe functions for increased control over the
collections
+ Updated register user function
+ Updates templates and added a chat template
+ Relocated client side functions
+ Added data to the chat and reg form templates
+ User logging functions
+ Updated all events