update sessions controller to account for provider class