Removed unused function in validation_helper.php
Added space between if and ( in if conditions