derived all the other pages from the base.html page