updated application.rb file for heroku