Added Entity context to local storage