Done App.getCredential, App.authenticateUser