finish add books function and show book detail function