except for foods/new food/meals, all functions in submit controller are
connected to DB