Simple CRUD functions using PHP, JQuery and AJAX