add legacy accounts support
3 files changed