Improved permission management

-added user/group permission editor.
-improved invitations