Adding New User Function's AJAX functionality