Updated to prevent duplicated books from adding