added generalized connectionManager for all roles