add communication handler with server part