Added book transaction functionality