added avatar support to author templates