Refactor to get attendee record