How to watch the affiliate network?

I need each user can view the referral users and see a list of registered users thanks to him, so you can see how many are, your progress and calculate their commission.

if possible add it on a page of your site automatically