Fixing the issue with the header and footer not coming in subsequent 
pages