Define referral_url method for each user