*commented getUserRole for deleting resource