How to display and manage userids and groups