changd loop in Users.java to fix bug