wait for change auth before rendering