changed app controller to app.rb