refactored quiz show page