started AJAX form, added more validations to controller