Server-side of dietfix