the switch and signup methods of the Invites controller are flowing right, need to spec out the implementation from the patient inviting a doctor and also speccing out the permission models