Changed the view call to be in the body instead of the header