Waiting for user data to load before showing settings

Fixes #1059.
This is defined, but never used. We should also never have to define a function on the root scope, especially in run. Anything that can access the root scope should just access session.