Fixing auth on devices route