track the result of the apiauth call