changed how users are passed from array[] to List<User>