sent and received invitations working partially