Ajax return on createAccount method