// pub struct BasicAuth;
// impl BasicAuth {
// pub fn register(email: &str, password: &str) -> Result<User, AuthError> {
// // Validar datos y registrar un nuevo usuario
// }
// pub fn login(email: &str, password: &str) -> Result<User, AuthError> {
// // Validar email y password, devolver usuario autenticado
// }
// }