update app.rb and create views