configured the app to work on heroku