cleaned code for administration role filter