Implements session manager and validation manager.