Added mandatory modules to checkModuleAccess