api with restify, mongoose and nodejs