Update AppController.php

comments and clearing