added error message if your referral code has invalid chars
removed spurious puts