Hi Louise,
Can you please tell us a bit more?
I see from your profile you are insulin dependent but are you type 1 or type 2?
What do you mean by kinda out of control? What is your HBA1C? How often do you test your sugar levels, what readings are you getting before and after meals?
Your dieting - is it to lose weight or to control your blood sugar?
Can you describe the kind of leg problems you are getting when sleeping/walking? Sharp pains - if so where? Numbness, tingling, pins and needles?
I'm sure one or more of us will be able to help you but we just need some more details before we can!