adds resource header componenet