check session vars