Repurposing anti-hypertension drug for type 1 diabetes