How can I check if the guest has used a referral code to sign up?