creates base html page