added authorizatation filtering for classes