Added some AJAX to public page