Adapted yii-basic Template to implement Menu, Security and gii overrides