Redefined templates for home