Initializing application until user's session has been loaded.