Define OnlineThreshold exported variable
Use OnlineThreshold in Login function. Edit json error format
change the useage of LoginState. Some bug fix
OAuthhandleWraper now recive an slice of string instead of map