Adding base code for author trending