implemented communication between server and client