making authentication templates