Wired up rest route to client