Added function for server to emit names of clients.