fetch the session data