Query checked out books added to db_layer