Web API using node.js, express and mongodb