added some controls to doctor
fixing validations