Work in progress on connecting to the backend