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. 
On the server side it is just user.id which is always an int. I suggest keeping the forced string here incase you move to any other backend/auth provider. It will keep it constant even if they send a string or an int.  We can't ask a 3rd party to change their id to a string if it's an int.