added changes in app.js