Added registration of accounts.