set intial layout for home page
set inital layout for referral page
functionality added for average number of referrals
Merge branch 'referrals' into develop