TODO make account entity extend shared superclass for entities with names