Refactors discussion index page
Refactors discussion show page
Removes old var