Add success and fail actions