Connects client and server
Promisifies getUserLocations