Update SessionManager.php