added hidden input field for player_id