created separate functions for showing filter controls and converting role names more usable for manipulation