AJAX create and retrieve methods