Implemented sessionId reading from intent.