Checking the returned URL