updated app.js to fix book CRUD operations