authenticate modified