commit logout