Lots of rework to control nav before login.