added lines to application.rb