You can use this URL to determine if the user has logged in and get more info on the user at the same time:
http://api.ragic.com/AUTH?json
adding the param "json" will provide you with user information in JSON.
We have some authentication, read and write samples for integration on our GitHub page.