Session manager.