Registration app built in node.js and mongoDB