fixed logged states. Three states for marking wethered login successed.