added model methods for header/footer creation to localities controller