Finished invitation creation process (still missing permissions processing in invitation.php)