fix username for creating accounts to match selected domain
remove accounts with out usernames on launch
fix crash with auto layout
first try to fix migration form v3 o v4 of database