public function index()
    {
        $diagnostics = $this->getDiagnosticDataTable()->getDiagnostics($this->getRequestOptions());

        $config = $this->loadConfig();
        $data = array(
            'title'  => __('Readiness diagnostics'),
            'set'    => json_encode($diagnostics),
            'config' => json_encode($config['diagnostic']),
        );

        $userLabel = SessionManager::getSession()->getUserLabel();

        $this->defaultData();

        if (!empty($config['diagnostic']['pageTitle'])) {
            $this->setData('title', $config['diagnostic']['pageTitle']);
        }

        $this->setData('cls', 'diagnostic-index');
        $this->setData('userLabel', $userLabel);
        $this->setData('data', $data);
        $this->setData('content-template', 'pages/index.tpl');
        $this->setView('layout.tpl');
    }