updated ReportController.js to avoid showing 'exportReport' button