refactor shared avatar partial