synchronous logout