Add route to retrieve commands from server.