get_all_users implementation