working up xde-logout