AJAX-Validation for user registration.