Changed diabetic to doctor
Refactor preferences controller