add global page and message variables