adding error handling and cachebusting to webservice connections