Chat Server Node.js Assignment with MongoDB