basic webservice and localstorage