Audit functionality added