REST API with node.js, express framework and mongodb