Comment users is a dict, not a string. Compare the login instead of the whole dict