modified application_controller.rb
commented current_resource_owner in application_controller.rb