 Discharge on 0.3 Ukg of admission long acting insulin glargine or detemir provided by diabetes and endocrine clinic regardless of participants home insulin regimen at the time of admission with reduction to 0.2 Ukg in CKD with GFR 30 mlhr. This will be done at the time of study initiation during the hospitalization if the participant is randomized to this arm. 