Modified app.rb