Linked backend with frontend, getting 500 from server