Added authentication for modules