Added controller method for viewing stat formats and view page.