in order to make this work you need to make www-data user able to run prosodyctl with sudo without entering password