Adjust API URLs to match the ones used in frontend