modified storage-service to communicate with localStorage.