Adding contact and inpage templates