impliments AJAX into UI