Integrate auth system into main page.