added PHP validation for saving highscore and nickname