Added populateDeleteForm to js and added function to api to set an entry to inactive