localstorage using linked list