added header and footer to the views
changed home page to use header and footer