
            var roles = roleManager.Roles;

            ApplicationUser adminUser = new ApplicationUser()
            {
                UserName = AdminAccountName,
                PasswordHash = userManager.PasswordHasher.HashPassword(AdminAccountPassword),
                Roles = roles.Select(r => r.Name).ToList(),
                SecurityStamp = Guid.NewGuid().ToString() // EF requiring this
            };

            var bsonUser = adminUser.ToBsonDocument();
            collection.InsertOne(bsonUser);
        }
    }