setup_users function added.