added the functionality to add members to an event