added public domain validation before displaying book in library