The communication between client and server is XMLRPC.
sid login(user, password);
sid login
user logins to the default location.
sid loginWithLocation(user, password, location);
sid loginWithLocation
user logins to the location location.
logout(sid);
logout
Session sid logs out.