added delete user event to factory->delete