commiting layout with header and footer