Added debug page to check variables