Merge pull request #87 from poupotte/master

fix issue #86
1.0.9
update device if not authenticated