public function oldAuthResultHandler($xml) {
			if($xml->attrs['type'] != 'result') {
				$this->log->log("Auth failed!",  XMPPHP_Log::LEVEL_ERROR);
				$this->disconnect();
				throw new XMPPHP_Exception('Auth failed!');
			} else {
				$this->log->log("Session started");
				$this->event('session_start');
			}
		}