Added permissions system audit logging. Fixed minor issue with group
creation.