New code of practice for employers on discrimination and illegal working