added admin-check for delete-function