generation of events when a user is deleted or added