Added referral page option. Generating URL for referral page.