Introduction of localstorage