Prepare addFood(params) and addStock(params) to get ready to accept stuff from edit.jsp