null user validation fix