Fixed username search order
Fixed Firefox mixed warning
Fixed mobile detect
Improved API error debug info