Added AJAX for crud routes