add code to do auditlog on logon or logout
only invoke auditlog if ENABLE_AUDITLOG setting if set to True