Pulling todo list from rails server instead of hardcoded client-side values