Use ajax to prevent from redirting after form submit
Delete unecessary router and template.

They used to display the result of checking badges. Now, we display the result at the same page.
Advise a little mistake