fix success determination based on reqs url, not the current location