add new functions for registration of accounts