added show book functionality