routes modified to try to make app work in heroku (try #1)