added mongoose connection in app.js