Adapted header and footer to new main layout