can be simplified by using ``$this->getUser()``