Worked through login process
Adjusted callback of updateCategories()