public function get_visita($animalistaUUID)
 {
     session_start();
     if ($animalistaUUID == null) {
         return Redirect::to("/");
     }
     $user = $this->getUserByEmail($_SESSION["email"]);
     $img = new ImageModel();
     $images = $img->mGetByUUId($animalistaUUID);
     $animalistaObject = new AnimalistaModel();
     $profile = $animalistaObject->mGetAnimalistaByUUID($animalistaUUID);
     $user_animalista = new UsuariosModel();
     $name_animalista = $user_animalista->getByuuid($profile["user_uuid"]);
     $profile["nombre"] = $name_animalista["nombre"];
     return View::make("user-visita", array("profile" => $profile, "images" => $images, "user" => $user));
 }
 public function get_visita($mascotaid)
 {
     if ($mascotaid == null) {
         return Redirect::to("/");
     }
     session_start();
     $user = new UsuariosController();
     $userData = $user->getUserByEmail($_SESSION["email"]);
     $mascotaModel = new MascotaModel();
     $mascotaData = $mascotaModel->mMascotaByUUID($mascotaid);
     $img = new ImageModel();
     $images = $img->mGetByUUId($mascotaData["uuid"]);
     return View::make("mascota-visita", array("mascota" => $mascotaData, "images" => $images, "user" => $userData));
 }