Error when trying to retrieve property 'username'

I received an error 'property doesn't exist' on this line when authenticating with Facebook. Just a small change to check if the property exists first.
Merge pull request #13 from stevebauman/patch-1

Error when trying to retrieve property 'username'