Variable userLoginValue is not necessary. You can use:
if (ownerLogin.equals(userLogin.getValue())) return;