added nav, header and footer to index and registration