Moodle.2x mod/reader add login check to report.php and rename 'idh' parameter to 'id'