if (!integration.username || !Match.test(integration.username, String) || integration.username.trim() === '') {