Parsing pathname to get the route.

Why Logging the route to it can be seen. In preparation for adding users to the app.