implements index, show, header and routes