adds some initial logic to compliment.rb and compliment.erb