refactor LDAP, add transaction event piechart and statistics