added logic to show associated categories on group show page