Added event based auth adapter