Restful web server for user using node.js, express and mongoose