Unhardcode the api root url
Implement some error handling on the list view