urls now handle api calls