handling subscriptions with session