add common authentication base for authentication controllers