basic client-server functioning with multiple clients