Modifying the callbacks: we now have 2 callbacks, one for the success and another one for the failure