A bit of refactoring in user_add.php.