Add console logging to app.js