def METHOD_NAME(name, passwd):
    """
    Added a user account in guest
    :param name: user name
    :param passwd: password of user account
    """
    try:
        session = vm.wait_for_login()
        session.cmd_output('useradd %s' % name)
    finally:
        session.close()
    virsh.set_user_password(vm_name, name, passwd, debug=True)