public function getUserFromSession(Session $session)
    {
        $cl = $this->getUserClass();
        $this->user = new $cl;
        $this->user->obtainFromSession($session);
        return $this->user;
    }