updated with user_query_all