Update UserDiscriminator.php

update for get form with name and DI constructor