created header and sidebar