public function redirect()
    {
        if (headers_sent() === false) {
            header('X-PHP-Response-Code: 403', true, 403);
        }
        if (isset($_GET['template']) === false) {
            return redirect($this->router->generate('login-page'));
        } else {
            return 'Redirect: ' . $this->router->generate('login-page');
        }
    }