error messages logger added in DefaultController.php
comments added to methods