Finished edit and delete function of editcategories.jsp