added routes for AJAX