separated header and footer from views