added validator for dob