changed the user null condition in Logging Attribute