Use session provider in json base page