Add commands to list users and groups
Put back stuff to edit JSON document