bam.application pages and states