Added some print statements for debugging purposes
Moved show logic from template to the view.
Removed print statements
Revert whitespace changes