enforcing key value variable usage with sessions.