Adding route to get devices