The looming legal minefield of working from home