Cleaned up personaName and userName handling a bit in DBPermissionManager