Referral page implementation, with login, routing, services, controllers and validation.