rewrote user methods and restructured getDevices and getUser. Writing multiple device detection and setting now