Added LDAP validation for user management

1) User can login using own LoginID and Password or using AD Login but
must added to user table.
2) Add or update new user, will check the LoginID whether the account is
exist in AD when they prefer login using AD.