Adding some improved ldap error handling and fixing output of add-user.php