updates to app.rb