Fix typo in openSession

Fixes problem with permissions
Merge pull request #41 from jparyani/typo-openSession-permissions

Fix typo in openSession
Fix if user has no address or name in getUserAddress
Merge pull request #39 from jparyani/fix-getuseraddress

Fix if user has no email address