fix user session reset
Merge pull request #108 from Alex-Diez/master

fix user session reset