$eveRender->Assign('userid', $userid);
     $eveRender->Assign('optchars', $optchars);
     $eveRender->Assign('characters', $characters);
     $eveRender->Display('install/install.tpl');
     exit;
 } elseif ($action == 'saveapi') {
     $apikey = $eve->VarCleanFromInput('apikey');
     $userid = $eve->VarCleanFromInput('userid');
     $args['apikey'] = $eve->VarCleanFromInput('apikey');
     $args['userID'] = $eve->VarCleanFromInput('userid');
     $args['characterID'] = $eve->VarCleanFromInput('characterID');
     $args['corporationName'] = $eve->VarCleanFromInput('corporationName');
     $args['corporationID'] = $eve->VarCleanFromInput('corporationID');
     $args['allianceName'] = $eve->VarCleanFromInput('allianceName');
     $args['allianceID'] = $eve->VarCleanFromInput('allianceID');
     $savekey = $posmgmt->API_SaveKey($args);
     if ($savekey) {
         $eve->SessionSetVar('statusmsg', 'API Key Saved!');
     }
     $eve->RedirectUrl('install.php?step=5');
 } elseif (!$action) {
     //Begin API KEy Mangager
     $keys = $posmgmt->API_GetKeyInfo();
     foreach ($keys as $index => $key) {
         $shortkey = substr($key['apikey'], 0, 5);
         $keys[$index]['shortkey'] = $shortkey;
     }
     $eveRender->Assign('keys', $keys);
     $eveRender->Assign('step', $step);
     $eveRender->Display('install/install.tpl');
     exit;