few chanegs in app.js