Change logout function
Merge branch 'master' of github.com:nbaglivo/turnOnClient