added get dat function and created #display page to display data from local storage. Still need to work out switching to that page when function is run. Currently does not change page but after going to #display manually all data was listed.