Update books_controller.rb

only the definition of add is required here