client add add correct connect/disconnect