After reading answers from other questions, I understand that I have to change DBObject to User to pass the verification. However, even without changing it, the code displays correct answer. Could someone please explain why it displays correct answer?