Finalize Invitation function