Change homepage layout if statement controller path