Fixed a small bug with the referral email
Changed some small referral email stuffs