Updated index.js file and index.html file to show chat messages and print to the console log when a user connects and disconnects