Change purchased events to event registration, add delete functions to event views