updated the delete list item ajax handler and update the ListItem delete method. It now uses a prepared MySQL statement