LPS-50823 remove unnecessary null user check