differentiate localstorage