Attempt to implement AJAX registration