public static function requireProfile() { if (fRequest::isGet() && fAuthorization::checkLoggedIn() && !self::hasProfile()) { fURL::redirect(SITE_BASE . '/profiles/new'); } }