implement create document, index page to see public ebook