Added index to creation of loan and reservation.
Added method to retrieve current loan and reservation index.