public function __construct($rut)
 {
     $datos = consultas::getUsuario($rut);
     if ($datos) {
         $this->nombre = $datos['Nombre'];
         $this->apellidoP = $datos['ApellidoP'];
         $this->apellidoM = $datos['ApellidoM'];
         $this->rut = $rut;
         $this->correo = $datos['Correo'];
         $this->password = $datos['Password'];
         $this->tipoUsuario = $datos['TipoUsuario'];
         self::$instance = $this;
     }
 }