add AJAX to add avatar