fixed the logout bug
Merge remote-tracking branch 'origin/logout' into develop