updated role view and added ldap authenticate