add session logout after convert pdf