Set root page based on authentication state