Fix users search
Fix devices search
Use static search url
Use first value of array