logout connected bout has error