Users and groups UI API

First draft of UI API for Users and Groups.