update userstate
Merge branch 'master' of github.com:mschonvogel/beacontest
update userstate