Add success and error callbacks