Create AppController.php

AppController Class (basic authentication added)