modified assembly to allow setting of token on session object.
Added error message for when an error is returned.
Added Token manipulation functions and ablitiy to specify token in session creation.