logout on disconnect