mongoose and socket.io