Added AJAX requests to server