Fixed the add book so it works with adding a duplicate book