implemented a controller referral check on the Invite create action which adds the invited type to the invite record which can then be used in the Invites swithc action to create the correct invited record type