simple chat using socket.io, mongodb