page_helper.php in application/helpers
use this to prevent calling the page templates multiple times