Added signed in bar, mainContainer, and undefined checks.