adding validation in player creation