education data in database and templating on home page