moved mongoose.connect to app.js configure