fixed CSRF API conflict and refactored user controller
new task integrated with api using gon gem
create and index for todos working in both rails and api together but slow
todos crud working with rails and api together