implemented account AJAX