✅ Having trouble handling errors when registering a new user - C#