Switching to PHP's empty method instead of ! resolves #310

`if( ! $data->email )` throws a `Undefined property: stdClass::$email` error when the email property is not set for some reason changing it to use PHP's `empty` method fixes this
Merge pull request #312 from sathvikp/patch-1

Resolving `Undefined property: stdClass::$email` error on GitHub auth