Add main page(css, js), add method render in base controller