Use modules folder to add your home page sections as individual sections.By supporting your modules with Settings schema, you will be able to customize the home page template sections.First step is to addd home_template_modules to your home template:
Allowing partners to handle user session errors on the home page. By including this snippet, you ensure that any session-related issues are communicated to users directly on the home page.