Changed app.js to add console log