A randomized controlled trial with 400 patients with diabetes is carried out at an endocrinology unit in a Danish University Hospital. The sample size was determined by a power calculation based on a standard deviation of 1.15 in the HbA1c-value and a 5% two-sided significance level. The power is set to 90 %. Assessments are made at baseline, follow-up 1 year and follow-up 2 year. Statistical analysis will be used to compare end points between the two groups.