TJ: added allowedPathMethod as alternative to loggedPaths