added logging function for debugging and some debug lines
Merge branch 'master' of github.com:brammeleman/authLdap