Added a way to change the SessionManager