/**
  * @return null|string
  */
 public function getUserId()
 {
     if (!$this->user) {
         return;
     }
     return $this->user->getUuid();
 }