implemented ldap auth for searching the ldap
fixed bug with autocreate when user already exists