Added player registering logic to world.go