WIP - permisisons group update

Fixes here and there to make permissions and groups work correctly. 
Updated commands syntax to be like other commands. Also updates for how cli has changed. 

Everything seems to work again, doing double checking on all commands. 
This one has to stay, Results response from the server the users id is returned as an int.