connection with client is working