Adds routing and authentication