method checkForEqualUsers