Fixed Query in function print_users()