added sharing and per username localstorage