legal requirements for preschool