Fixed an error with OnDemand, added login protocol (has full login
decoding/encoding, but doesnt have everything needed core wise)