changed the initialization for the session manager array