Verify credentials with AJAX during registration

Next: recaptcha verification.