tidy up log messages in app.js