updated header and footer to conform to flask best practices