adding ajax request to register plan clients