Modify app.rb as learning exercise