Chat app using nodejs and socket.io