added routes and refactor HTML