Fethces correct credentials, and fixes buggy callback when initialization is done