Properly integrated the backend with the new UI