refining validation for adding referrals