Updated layout templ for application