Revert "Revert "Refferal system""

This reverts commit 13bf7d3e7553a8e8ce8187e799fa463b884e6e3d.