Adding authentication to device route