Referral system completed.

(bugfix for /crefer)