Implemented sending invitations.