added auth page handler