changed user to use localstoragehandler