fixing: logout on tab logout (issue #47)