modify server, add name and id in gameloop