Adding validations and flash errors for team.
Adding validations and flash error for player.