trying to delete devise
finished ajax version of chart