update app.js file to include mongo lines