Core Files changed to override the security of moodle