public static function getInstance() { if (empty(self::$instance)) { self::$instance = new MAuthentication(); } return self::$instance; }