Upated the API, not yet deployed

Added support to check log in status and if the device is on the same
network as the calling device.