Move bookBorrowedByCurrentUser logic from client to server.