add ldap support & improve display