Added Service Provider and user logic for LDAP