use matched routes instead of hardcoded /'s
quick run of autopep8