function ingresar(LogIn $obj)
 {
     $sql = "SELECT nombre,nickname,password " . "from usuario " . "where nickname='" . $obj->getNickName() . "' AND password='******'";
     $resultado = $this->object->ejecutar($sql);
     return $this->object->validarLogin($resultado);
 }