added a check on the backend to prevent spawning more than 1 player