controller logic for book topics