Changes to LoginValidator.php
Fixes to LoginValidator.php