Corrected the checkStudentExist method in StudentDAO