added referral codes that store as cookies. Also created a setup page that handles the referral cookies.