new method for generating confirmation token in referral model