add connecting

call connect API