Added functionality of being able to query the names of people and books of the checkout table.