Added Jquery function getSessionInfo