Serious problems to build REST api in server.js with mongoose.