Adds TASK 2 functionality to Application class via application.rb