Added setting and getting localstorage for testing

REMOVE BEFORE DEPLOYMENT