add AJAX on form
removed json rendering for now