a simple chat using node.js as a back end