fixed bug in OD Get login state which always returned -1