Adding user groups and user permissions.