setup frontend templates and navigations