Student residences will be included in the new law