init client