Updated session variable usage