renaming index to template + adding ability to activate a quiz