protected function getUser()
 {
     // retrieve your concrete user model or entity
     $user = new UserModel();
     $user->setAvatar('')->setIsOnline(true)->setMemberSince(new \DateTime())->setUsername('Siplo User');
     //  $user=$this->container->get('security.context')->getToken()->getUser;
     return $user;
 }
 public function onShowUser(ShowUserEvent $event)
 {
     $user = new UserModel();
     $user->setAvatar('')->setIsOnline(true)->setMemberSince(new \DateTime())->setUsername('Demo User');
     $event->setUser($user);
 }