public function __construct($container)
{
$this->view = $container->get('view');
$this->csrf = $container->get('csrf');
$this->flash = $container->get('flash');
$this->router = $container->get('router');
$this->c = $container;
$this->addDataForView();
}