code: public function getModel() 
  	{
  		if(null === $this->model) {
  			$mainService = $this->getServiceLocator()->get('neobazaar.service.main');
  			$this->model = $mainService->getUserEntityRepository();
  		}
  		return $this->model;
  	}
docs: Get the model