basic referral flow