minor changes to fraud check and validator. Merged in changes for iodocs to the controller.php
adding to the docs