SubjectRepository with paging