Headers and footers to caught error pages, error catching on edit_text view