added session listener + createSession