ui's can now be dynamically attached using the connectUI function