added client connection processing