public User getNextUser() throws Exception {
        if(users.isEmpty()){
            throw new Exception("user collection is empty");
        }
        Integer lastId = currentUser.getId();
        if(lastId == users.size()){
            return getUser(1);
        } else{
            return getUser(lastId + 1);
        }
    }