get book from db