author code for app.rb