starting logout