How to allow users to purchase only if they have previously registered for event?