Update main.php

added NOAUTH. Thanks davidtek7 for the patch