function for listing users added. list_users() returns the list with ldap and cloud information