Now the account is written completely to the db
Merge pull request #40 from lingow/Accounts#37

Accounts#37