FIX: No null check in User.equals causing registration failure