src/Application.php
public function run()
    {
        $this->onBeforeRun();
        $this->getSessionContext();
        $eventlog = Openbizx::getService(OPENBIZ_EVENTLOG_SERVICE);
        $logComment = array('address', $_SERVER['REMOTE_ADDR']);
        $eventlog->log("LOGIN", "MSG_LOGIN_SUCCESSFUL", $logComment);
        if ($this->processSecurityFilters()) {            
            echo $this->dispatchRequest() . ''; 
        }
        $this->onAfterRun();
    }
public function run()
    {
        $this->onBeforeRun();
        $this->getSessionContext();
        $eventlog = Openbizx::getService(OPENBIZ_EVENTLOG_SERVICE);
        $logComment = array('address', $_SERVER['REMOTE_ADDR']);
        $eventlog->log("LOGIN", "MSG_LOGIN_SUCCESSFUL", $logComment);
        if ($this->processSecurityFilters()) {            
            echo $this->dispatchRequest() . ''; 
        }
        $this->onAfterRun();
    }
Run application

@todo use respond object instead "echo" command