replace Player with RegisteredPlayer class