add client and server