Fixed account factory
Made layout work for accounts without a person.