private function initiateContext(Model $modelObject = null)
    {
        $context = $this->getContextFromAuth($modelObject);
        $this->registerContext($context);
        $this->currentContext = $context->getId();
        //\dump($context->getRoles()->toArray());exit;
        return $context;
    }