gui communicates to connection manager through session.