changed 'delete' route to get