Simple chat using socket.io, mongodb