add access logger to pat