category list function
calls list function from view
added delete link to list
delete category function
updated category view
redirecting to category view