added header and footer to views