rendered the first page content with routes and tempalte.