made all CRUD operations AJAX aware