Add /books/:id handler