Add /api/save route