fixed issues of pivot and changed select query of audi trail
deployed rept.js and audit_trail.php