fix: log out users containing invalid cookies