public function getEntityManager()
    {
        if (null === $this->em) {
			$mainService = $this->getServiceLocator()->get('neobazaar.service.main');
            $this->em = $mainService->getEntityManager();
        }
        return $this->em;
    }