taking out code that clears localStorage everytime the page is reloaded