authentication ted