implemented logout if server response contains unauthorized
Merge branch 'master' of https://github.com/dzigerlig/CDAR.git