create custom filter to decide who has access to lessons