modified /api/dish handler GET to get from database and POST to save to database