Trying to remove insecure elements from header and footer