add access_logging method