add communication between master server and client