Fix all grammar flaws in this:
They entered the building with the aid of the ID and made use of the code to enter the interiors of the building.
They entered the building with the aid of the ID and made use of the code to enter the interior of the building.