Added validation to the age field