add register service , exit event