Adding edit/destroy functionality and simple validation for glucose data.