Can't change my layout


I'm trying to set a different layout for the login page. But, I'm ending with the main layout all the time. Did I forget something?

public function initialize() {

    $this->view->setTemplateAfter('session'); <==== Or Before give me the same result
    Tag::setTitle('Sign Up/Sign In');


Thank you !


Solve ! I Move my content to a main file and let {{ content() }} in the index file.