The unintended legal consequences of the sharing economy