def create_appscale_user(password, uaserver):
  does_user_exist = uaserver.does_user_exist(hermes_constants.USER_EMAIL,
    appscale_info.get_secret())
  if does_user_exist == "true":
    logging.debug("User {0} already exists, so not creating it again.".
      format(hermes_constants.USER_EMAIL))
    return True
  else:
    if uaserver.commit_new_user(hermes_constants.USER_EMAIL, password,
        hermes_constants.ACCOUNT_TYPE, appscale_info.get_secret()) == "true":
      return True
    else:
      logging.error("Error while creating an Appscale user.")
      return False
Creates the user account with the email address and password provided.
dataset/ETHPy150Open AppScale/appscale/Hermes/hermes.py/create_appscale_user