add authinit to html