fixed naming of log_request in add/delete resource