add account creation wizard

Change-Id: I27f1fd0c53eb83df0c7bd1de06ba791c3b25962b
diff --git a/client/src/AuthManager.js b/client/src/AuthManager.js
index c256d51..d6cc6b6 100644
--- a/client/src/AuthManager.js
+++ b/client/src/AuthManager.js
@@ -72,6 +72,9 @@
                 }
                 if (this.onAuthChanged)
                     this.onAuthChanged(this.state)
+            }).catch(e => {
+                this.authenticating = false
+                console.log(e)
             })
     }
 
@@ -125,6 +128,9 @@
                     else
                         task.reject(new Error("Authentication failed"))
                 }
+            }).catch(e => {
+                this.authenticating = false
+                console.log(e)
             })
     }