public function init(UserEntity $user, ServiceManager $sm)
	{
		$main = $sm->get('neobazaar.service.main');
		$userRepository = $main->getUserEntityRepository();
		$this->hashId = $userRepository->getEncryptedId($user->getUserId());
		$this->name = $user->getName();
		$this->surname = $user->getSurname();
		$this->email = $user->getEmail();
		$this->gender = $user->getGender();
		$this->dateBorn = $this->getDateBorn($user, $sm);
		$this->nicename = $user->getNicename();
		$this->mobile = $this->getMobile($user);
		$this->isAdmin = 'god' == $user->getRole();
		$this->fullname = $this->getFullname($user);
		$this->role = $user->getRole();
		$this->state = $user->getState();
		$this->stateFormatted = $this->getStateFormatted($user);
		$this->editAddress = '/#/edituseerrr';
		$this->isActive = $user->getState() == UserEntity::USER_STATE_ACTIVE;
		$this->isDeactive = $user->getState() == UserEntity::USER_STATE_DEACTIVE;
		$this->isDeleted = $user->getState() == UserEntity::USER_STATE_DELETED;
		$this->isBanned = $user->getState() == UserEntity::USER_STATE_BANNED;
		//$this->count = $this->countClassifieds($user, $sm);
		$this->count = 'disabled';
	    
	    return $this;
	}