Changed errors to be -1. Added session ID return in create session