Add waitForAuth library to improve timing of content loading