use routes instead of ugly pattern matching on HttpRequest objects