Invitation functionality is now complete.

Still requires some validation and authorization rules to be added though. But basic flow is implemented.