implemented showLoanedBooks