Add error and success handlers the the  service.