refactor quiz.submit and sync front-end back-end data
rename api/activities to api/results controller
this is a big commit, reverted from using api to get the data to passing data in html element attributes and secondly showing challenge with resutls