changed api from localhost:3000 to herokuapp