frontend can now talk to the backend