main view adjusts depending on auth status