fixed template pages

Made the headers/footers more accurate
fixes student urls

comparing with other urls, I've made my urls more comparable to other
urls. tested to be correct.
implementation errors for student pages corrected

now that testing is possible, various python errors have been fixed.