added localstorage for tags