Gels for constant and smart delivery of insulin