restructured auth page