 After adapting the online weight management program and integrating it with the population management support strategy based on our focus groups and key informant interviews, investigators will conduct a three-arm cluster-randomized trial to compare the effectiveness of the combined intervention online weight management program plus population management support with the stand-alone online weight management program and with usual care. This will be a pragmatic clinical trial conducted in approximately 14 BWH primary care practices. To be eligible for the trial, patients must have an upcoming scheduled visit at a BWH primary care practice, BMI between 27 and 39.9 kgm2 at enrollment, and a diagnosis of type 2 diabetes or hypertension. They also must be between ages 20 and 70 inclusive at enrollment, speak English or Spanish, and have access the Internet using a computer, tablet, or smart phone. Finally, patients must be motivated to lose weight. Investigators plan to recruit a total of 840 patients for the study 280 per arm. Patients who enroll in the trial will attend regular primary care visits at their practices and also will complete surveys by e-mail, regular mail, or phone. 