adds api call for books