login system added; ldap still missing; debugging simlified;