adding additional AJAX, working on adding data back to database