add basic local storage to prevent additional api calls