Added initial routing and authentication.