Added common authentication for all modules