adding instructions to app.js for database