Updated session variable logic