impl logout