logout directly