check if local storage exists