added local storage usage in Persistence service