adding server and client