links user to event using has_many belonges_to association