API call for author page