small change in doc
bugfix, change order of things in initialization

we first want to make sure that auth step is complete.