Debugging user registration