public function getResult($profile = [])
    {

        $profile['userName'] = $this->userName;
        $profile['token'] = $this->token;

        $di = \Phalcon\Di::getDefault();
        // the final result generated by the entity object
        $result = $di->get('result', ['profile']);
        $result->outputMode = 'single';

        $id = (isset($profile['id'])) ? $profile['id'] : 1;
        $data = $di->get('data', [$id, 'profile', $profile]);
        $result->addData($data);
        return $result;
    }