Add ajax call to get devices for user