Extract method to disconnect users