implemented and tested the create account call