How to create registration form with unique promo codes that can only be used once?