updated app.js with mongoose data