added audit_login code