Fixed destroy action in AJAX. Added create for AJAX