connect controllers with html frames