Added ajax for form submit, added some controller respond_to and remote true