Seems to be some bug in your script?
Error E1517: No level
You're attempting to modify your level, usually by placing entities in it, but have forgotten to load that level before. If you don't know what a level is and how to load it, read the lite-C tutorial.
session_connect works without any level, check out the 2d multiplayer game in the samples.