updated templates for main page