Add routing and actions to make task complete button functional.