update to incorporate localStorage in storage-service.