added mongoose connect to app.js