Making sure authentication completes before loading settings page.
Always makes sure authentication completes before loading page.