Added render call to header & footer