Able to pass data between pages with localstorage