added console logs to troubleshoot app on heroku