Add verification of session ID