changed parameters for createAccoutn and getAccount