Add book duplicatoin checking.