// call the logout and redirect to the
     $user->Logout();
     header("Location: index.php");
     die;
 case 'preferences':
     // Load the preferences-class (preferences-management)
     include_once __ROOT__ . '/classes/admin/admin_preferences.php';
     $title = $translation->GetTranslation('preferences');
     $adminClass = new Admin_Preferences($sqlConnection, $translation, $config, $user, $lib, $output);
     $text = $adminClass->GetPage($action);
     break;
 case 'files':
     // Load the files-class (file-management)
     include_once __ROOT__ . '/classes/admin/admin_files.php';
     $title = $translation->GetTranslation('files');
     $adminClass = new Admin_Files($sqlConnection, $translation, $config, $user, $lib, $output);
     $text = $adminClass->GetPage($action);
     break;
 case 'pagestructure':
     // Load the pagestructure-class (manage & edit all pages)
     include_once __ROOT__ . '/classes/admin/admin_pagestructure.php';
     $title = $translation->GetTranslation('pagestructure');
     $adminClass = new Admin_PageStructure($sqlConnection, $translation, $config, $user, $lib, $output);
     $text = $adminClass->GetPage($action);
     break;
 case 'menueditor':
     // Load the menu-class (menu-management)
     include_once __ROOT__ . '/classes/admin/admin_menu.php';
     $title = $translation->GetTranslation('menu-editor');
     $adminClass = new Admin_Menu($sqlConnection, $translation, $config, $user, $lib, $output);
     $text = $adminClass->GetPage($action);
} elseif ($extern_page == 'logout') {
    //include('./system/user_pages.php');
    //page_logout();
    $user->Logout();
    header("Location: index.php");
    die;
} elseif ($extern_page == 'preferences') {
    include 'classes/admin/admin_preferences.php';
    $title = $admin_lang['preferences'];
    //$text = page_preferences();
    $admin_page = new Admin_Preferences($sqlConnection, $admin_lang, $config);
    $text = $admin_page->GetPage($extern_action);
} elseif ($extern_page == 'files') {
    $title = $admin_lang['files'];
    include 'classes/admin/admin_files.php';
    $admin_page = new Admin_Files($sqlConnection, $admin_lang, $user, $config, $lib);
    $text = $admin_page->GetPage($extern_action);
} elseif ($extern_page == 'pagestructure') {
    $title = $admin_lang['pagestructure'];
    include 'classes/admin/admin_pagestructure.php';
    $admin_page = new Admin_PageStructure($sqlConnection, $admin_lang, $user, $config);
    $text = $admin_page->GetPage($extern_action);
} elseif ($extern_page == 'groups') {
    $title = $admin_lang['groups'];
    include 'classes/admin/admin_groups.php';
    $admin_page = new Admin_Groups();
    $text = $admin_page->GetPage($extern_action, $admin_lang);
} elseif ($extern_page == 'rights') {
    $title = $admin_lang['rights'];
    include 'classes/admin/admin_rights.php';
    $admin_page = new Admin_Rights();