added removePatient method, which also fixes the bug of not deleting picture and grade rows associated with removed patients, and used it in the controller to replace direct sql manipulation.