change access modifiers from protected to public for getting footer and header layout methods