- Minor refractor on editPages Controller