Added code for CreateAccount() method