fixed validateUserIds