Added some more functionality to chat_server.js and added client side chat.js