added session manager to Connection class