rendering data to header view