added author api and author-info ajax functionality