displaying categories and students