added database configuration in app.js