saved all userdata to localstorage database when you login