formatting referral page plus a few small fixes