Modify demo app to use localhost API