Add some managing functions for users, groups and permissions. *Not finished yet*