master Deleted unused code and debugging output
master Render first page as a template