public function setProperties($properties)
    {
        parent::setProperties($properties);

        //Set the user data
        $this->getSession()->set('user', ObjectConfig::unbox($properties));

        return $this;
    }