added sendInvitation to the setGuests