st the jurisdiction of the courts is that the authority should have been constituted as required by the statute, the person proceeded against should be subject to the jurisdiction of the authority, the ground on which action is taken should be withn the grounds stated by statute, and the order made should be such as could have been made under statute. . . . . . . . . . . . . . . .