logout improve