added 401 handling in latestresult_vc