Form with validation and AJAX to add a new user