Working on client-server interaction