added redirect to root for referral