updated app.rb file