changes in controller to add Books