syntax error fixed
test for session creation on init added
session creation added to init
syntax fix