--add-user, move some code around
create new right key when adding group
handle /groups and --add-group
fix length and genration of random string