Removed unnecessary 'SessionListener' in the SessionProvider.
Minimal bug fixes.