This commit enhances the UI with a prompt for the username as well as allowing for the username, type, and message to be sent.  Makes all javascript OOP