changed the query for findAllUserDNs to fetch all the user dns