Update SessionManagerFactory.php