add event handler to manage users and groups provider comming from the core