Added pagination and search to subjects and privileges (G)