added an optional parameter to show/hide profile name in list view