Registration form using node.js and MongoDB