adding delete function to admin - not working