cleaned up template code by separating the common html from the page specific html