Fix PHP Errors on invalid account / JSON trouble
Merge pull request #32 from iPublications/master

Fix nasty PHP error on line 42 && 119 on invalid credentials