Added filtering to support admin user on cloudspin.me .
Fixed null pointer exceptions which happened when the REST request failed.