removed layout() from BaseController, fixed syntax issue in the config file