loggedIn()) { header('Location: home' . $accountCenter->createTrackingParameters()); exit; } elseif(isset($_GET['token']) && isset($_GET['domainuuid'])) { header('Location: ../auth-token?token='.$_REQUEST['token'].'&domainuuid='.$_REQUEST['domainuuid']); exit; } else { $accountCenter->customHeader(); $accountCenter->loginForm(); $accountCenter->customFooter(); $accountCenter->debugInfo(); }