Integrate frontend and backend