client connect implemented