add server and client