minor changes to useLDAP and some html