Added a field to events that will check if a user has previously purchased a ticket for an event if they are logged in.