commenting logic that clears localStorage on page refresh